package com.university.trade.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.university.trade.dao.UserinfoMapper;
import com.university.trade.entity.Userinfo;
import com.university.trade.service.UserinfoService;
@Service
public class UserinfoServiceImpl implements UserinfoService {
	@Resource
	private UserinfoMapper userinfoMapper;
	@Override
	public int deleteByPrimaryKey(String infoId) {
		return this.userinfoMapper.deleteByPrimaryKey(infoId);
	}

	@Override
	public int insert(Userinfo record) {
		return this.userinfoMapper.insert(record);
	}

	@Override
	public int insertSelective(Userinfo record) {
		return this.userinfoMapper.insertSelective(record);
	}

	@Override
	public Userinfo selectByPrimaryKey(String infoId) {
		return this.userinfoMapper.selectByPrimaryKey(infoId);
	}

	@Override
	public int updateByPrimaryKeySelective(Userinfo record) {
		return this.userinfoMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Userinfo record) {
		return this.userinfoMapper.updateByPrimaryKey(record);
	}

}
